<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <!--声明文档兼容模式，表示使用IE浏览器的最新模式-->
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <!--Responsive layout：响应式布局-->
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>蜗壳</title>
    <base href="./">
    <meta name="keywords" content="抖音去水印, 快手去水印, 无水印解析, 查询用户信息">
    <meta name="description" content="抖音去水印, 快手去水印, 无水印解析, 查询用户信息">
    <meta name="referrer" content="no-referrer" /><!-- 外链403的时候尝试屏蔽Referer，有效 -->
    <link href="//lib.baomitu.com/twitter-bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet" />
    <link href="//lib.baomitu.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet" />
    <link rel="stylesheet" href="./css/oneui.css">
    <script src="//lib.baomitu.com/jquery/2.1.1/jquery.min.js"></script>
    <script src="//lib.baomitu.com/twitter-bootstrap/3.3.7/js/bootstrap.min.js"></script>
    <script src="//lib.baomitu.com/layer/3.1.1/layer.js"></script>
    <script src="./js/baidutongji.js"></script>
    <!--[if lt IE 9]>
    <script src="//lib.baomitu.com/html5shiv/3.7.3/html5shiv.min.js"></script>
    <script src="//lib.baomitu.com/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->
</head>

<body>

</body>
<script>
    function copyContent(inputElement) {
        // // 取父节点（parentNode）的上一个兄弟节点（previousElementSibling;）
        // var inputElement = ElementObj.parentNode.previousElementSibling;
        //选中input框的内容
        inputElement.select();
        // 执行浏览器复制命令
        document.execCommand("Copy");
        // 取消选中
        inputElement.blur();
        //提示已复制
        // alert('已复制')
        layer.msg('已复制');
    }
    var data = {
        "photoId": "3xrkjbikwdh5chm",
        "user": {
            "avatar": "https://tx2.a.yximgs.com/uhead/AB/2020/03/17/16/BMjAyMDAzMTcxNjM3NTdfMTA4MjQ1MzcwN18yX2hkOTgxXzM1OA==_s.jpg",
            "eId": "3xgjakxscj6g469",
            "id": 1082453707,
            "name": "杰儿美食",
            "sex": "F"
        },
        "video": {
            "caption": "外面卖20一杯的鸡蛋仔，教你在家做，外酥里软，香甜冰爽",
            "commentCount": "3003",
            "fileType": "video/mp4",
            "height": 1280,
            "id": "5235153106893218534",
            "imageCDN": null,
            "images": null,
            "likeCount": "15.6w",
            "poster": "https://tx2.a.yximgs.com/upic/2019/07/31/15/BMjAxOTA3MzExNTQxNDJfMTA4MjQ1MzcwN18xNTgzNjk3MjEwMl8zXzM=_B5415317fb6d50c5b3b485e5566abe505.jpg?di=7253d129&bp=13380",
            "shareCover": "https://tx2.a.yximgs.com/upic/2019/07/31/15/BMjAxOTA3MzExNTQxNDJfMTA4MjQ1MzcwN18xNTgzNjk3MjEwMl8zXzM=_B5415317fb6d50c5b3b485e5566abe505.jpg?di=7253d129&bp=13380",
            "src": "https://txmov2.a.yximgs.com/bs2/newWatermark/MTU4MzY5NzIxMDI_zh_3.mp4",
            "srcNoMark": "https://txmov2.a.yximgs.com/upic/2019/07/31/15/BMjAxOTA3MzExNTQxNDJfMTA4MjQ1MzcwN18xNTgzNjk3MjEwMl8zXzM=_b_B9b8444064db49b43ac8509284be0ac7e.mp4?tt=b&di=7253d129&bp=13380",
            "type": "video",
            "viewCount": "278.2w",
            "width": 720
        }
    }
    document.body.innerHTML = `
    
    <div class="input-group">
        <span class="input-group-addon">作者</span>
        <input class="form-control" type="text" onclick="copyContent(this);" value="${data.user.name}">
    </div>
    <div class="input-group">
        <span class="input-group-addon">标题</span>
        <input class="form-control" type="text" onclick="copyContent(this);" value="${data.video.caption}">
    </div>
    <div class="input-group">
        <span class="input-group-addon">作品</span>
        <input class="form-control" type="text" onclick="copyContent(this);" value="${data.photoId}">
        <span class="input-group-addon">播放</span>
        <input class="form-control" type="text" onclick="copyContent(this);" value="${data.video.viewCount}">
    </div>
    <div class="input-group">
        <span class="input-group-addon">点赞</span>
        <input class="form-control" type="text" onclick="copyContent(this);" value="${data.video.likeCount}">
        <span class="input-group-addon">评论</span>
        <input class="form-control" type="text" onclick="copyContent(this);" value="${data.video.commentCount}">
    </div>
    <div class="input-group">
        <span class="input-group-addon">视频</span>
        <input class="form-control" type="text" onclick="copyContent(this);" value="${data.video.srcNoMark}">
    </div>
    <div class="input-group">
        <span class="input-group-addon">封面</span>
        <input class="form-control" type="text" onclick="copyContent(this);" value="${data.video.poster}">
    </div>
    <button type="button" class="btn btn-primary btn-lg btn-block" onclick="openVideo('${data.video.srcNoMark}')">打开视频</button>



    `
</script>

</html>